libostree: Check out directories depth-first in serial, switch to sync API
authorColin Walters <walters@verbum.org>
Tue, 20 Aug 2013 23:10:09 +0000 (19:10 -0400)
committerColin Walters <walters@verbum.org>
Wed, 21 Aug 2013 13:22:37 +0000 (09:22 -0400)
commitcaf6be331b1d5970afd11bfd7b7520dc6a62a0d7
tree0b4f7380c6465a5c8d2be2922bd02295f13305a7
parent750a60d3aa35749700f55f53e43beff623ecbf9b
libostree: Check out directories depth-first in serial, switch to sync API

The way we recurse into subdirectories in parallel makes it far too
easy to hit up against the arbitrary Linux fd limit of 1024.

Since the fix here is about dropping parallelism, let's just go all
the way for now and make a plain old synchronous API =(

This does simplify both internal callers which wanted a sync API
anyways.

https://bugzilla.gnome.org/show_bug.cgi?id=706380
doc/ostree-sections.txt
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo.h
src/ostree/ot-admin-deploy.c
src/ostree/ot-builtin-checkout.c